//获取跳转页面
console.log('加载end.js');
var url=location.href;

if (url.indexOf("#") != -1) {
	var start = url.indexOf("#")+1;
	//var len = url.indexOf('html')+3;
    var url=url.substr(start);
}
//跳转
if(url){
	switch(url)
	{
		case 'anli/anli_index.html':
			$$('.panel.panel-left .design_anli').addClass('active');
			break;
		case 'zyproduct/selfplayingmethodlist.html':
			$$('.panel.panel-left .zy_product').addClass('active');
			break;
		default:
			break;
	}
	//关闭loader
    myApp.hideIndicator();
    console.log("跳转到:"+base_url+url);
	mainView.router.loadPage(base_url+url);
} 